DefaultLocalCharacteristicWrapper
class DefaultLocalCharacteristicWrapper(characteristic: BluetoothGattCharacteristic) : LocalCharacteristicWrapper
Constructors
Link copied to clipboard
constructor(uuid: UUID, properties: Set<CharacteristicProperty>, encryptedNotification: Boolean, permissions: Set<LocalCharacteristic.Permission>)
Properties
Functions
Link copied to clipboard
Adds a LocalDescriptorWrapper to the characteristic
Link copied to clipboard
Adds the characteristic to a BluetoothGattService
Link copied to clipboard
open override fun notify(gattServer: BluetoothGattServer, device: BluetoothDevice, value: ByteArray, indicate: Boolean): Boolean
Notifies a BluetoothDevice of a new value through a BluetoothGattServer